package com.cloud.business.dao.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloud.business.entity.sys.SysSellerUser;
import com.cloud.business.model.sys.sysselleruservm.SysSellerUserModel;
import com.cloud.business.model.sys.sysselleruservm.SysSellerUserQueryModel;

import java.util.List;

/**
 * 系统用户mapper
 * Copyright: Copyright (C) 2020 DLANGEL, Inc. All rights reserved.
 * Company: 大连安琪科技有限公司
 *
 * @author Rex
 * @since 2021-05-16 14:22:52
 */
public interface SysSellerUserMapper extends BaseMapper<SysSellerUser> {


    /**
     * 描述
     *
     * @param queryModel
     * @return
     * @author Rex
     */
    List<SysSellerUserModel> getListByPage(SysSellerUserQueryModel queryModel);

    /**
     * 描述
     *
     * @param queryModel
     * @return
     * @author Rex
     */
    List<SysSellerUser> getListForExport(SysSellerUserQueryModel queryModel);

    /**
     * 描述
     *
     * @param queryModel
     * @return
     * @author Rex
     */
    Long getListCount(SysSellerUserQueryModel queryModel);

    /**
     * 批量创建
     *
     * @param sysSellerUsers
     * @return
     * @author Rex
     */
    void insertBatch(List<SysSellerUser> sysSellerUsers);
}
